package com.nfit.shopmodel.vo.product;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * ClassName:ProductSkuVo
 * Package:com.nfit.shopmodel.vo.product
 * Description
 *
 * @Author L
 * @Create 2024/12/26 10:43
 */
@Schema(description = "商品sku部分数据")
@Data
public class ProductSkuVo {

    @Schema(description = "skuId")
    private Long id;

    @Schema(description = "skuName")
    private String skuName;

    @Schema(description = "缩略图路径")
    private String thumbImg;

    @Schema(description = "价格")
    private BigDecimal salePrice;

    @Schema(description = "sku_name_arr sku组件需要")
    private List<Map<String,String>> skuNameArr;

    @Schema(description = "库存数")
    private Integer stockNum;

    @Schema(description = "销量")
    private Integer saleNum;
}
